// 消息详情页返回按键
.message-detail-back {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    margin-top: 20px;
    color: #598dff;
}

// 消息详情页标题
.message-detail-title {
    width: 90%;
    margin: 0 auto;
    margin-top: 15px;
    font-size: 20px;
}

// 卡片区域
.message-detail-card {
    border-radius: 10px;
    margin-top: 20px;

    // 卡片的头部人物部分
    .message-detail-header {
        width: 90%;
        height: 70px;
        margin: 0 auto;

        display: flex;
        align-items: center;
        border-bottom: 1px solid #ccc;

        // 员工头像
        img {
            width: 50px;
        }

        // 员工头像和员工姓名、岗位的间隔
        .message-detail-header-name {
            margin-left: 10px;
        }
    }

    // 卡片中的聊天内容
    .message-detail-content {
        max-height: 300px;
        /* 设置一个合适的最大高度，根据你的布局需求调整 */
        overflow-y: auto;
        /* 当内容超出高度时，出现垂直滚动条 */

        .message-detail-content-date {
            width: 120px;
            height: 30px;
            text-align: center;
            line-height: 30px;
            border: 1px solid #ccc;
            border-radius: 15px;
            margin: 0 auto;
            margin-top: 15px;
        }
    }

    .message-detail-content-user {
        width: 95%;
        margin: 0 auto;
        // background-color: yellow;
        margin-top: 10px;

        .message-detail-content-user-img {
            display: flex;
            align-items: center;
        }

        // 用户的名字和时间
        .message-detail-content-user-name {
            display: flex;
            align-items: center;

            .message-detail-content-user-name-text {
                margin-left: 10px;
            }
        }

        // 聊天内容
        .message-detail-content-user-text {
            width: 75%;
            // background-color: pink;
            margin: 0 auto;
        }
    }

    .message-detail-content-user-input {
        width: 100%;
        height: 50px;
        border: 1px solid #ccc;
        border-radius: 10px;
        // 固定定位，漂浮起来
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;

        Button {
            width: 50px;
            height: 40px;
            margin-right: 10px;
            border-radius: 10px;
        }
    }



}

.MessagePopupInput {
    display: flex;
    justify-content: space-between;
}

.selectUserItem{
    display: flex;
    align-items: center;
    height: 60px;
}
.selectUserItem:hover {
    background-color: #598dff;
}